<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;


/**
 * App\CouponCode
 *
 * @property int $id 自增id
 * @property int $code_value 码值
 * @property int $is_use 是否使用
 * @property int $user_id 用户id
 * @property int $img_id 图片id
 * @property string|null $used_time 使用时间
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\CouponCode onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponCode whereCodeValue($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponCode whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponCode whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponCode whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponCode whereImgId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponCode whereIsUse($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponCode whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponCode whereUsedTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponCode whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\CouponCode withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\CouponCode withoutTrashed()
 * @mixin \Eloquent
 * @property string|null $type
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponCode whereType($value)
 */
class CouponCode extends Model
{
    protected $table="coupon_code";
    use SoftDeletes;
}
